//
//  UIViewController+Storyboard.m
//  OCBase
//
//  Created by 侯伟 on 2019/4/16.
//  Copyright © 2019年 侯伟. All rights reserved.
//

#import "UIViewController+Storyboard.h"

@implementation UIViewController (Storyboard)

+(UIViewController*)viewControllerWithIdentifier:(NSString *)identifier storyboardName:(NSString *)name{

    UIStoryboard* storyboard = [UIStoryboard storyboardWithName:name bundle:NULL];
    return [storyboard instantiateViewControllerWithIdentifier:identifier];
}

@end
